package com.ktgj.flight.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ktgj.common.core.annotation.Excel;
import com.ktgj.common.core.web.domain.BaseEntity;

import java.io.Serializable;
import java.util.Date;

/**
 * 航站楼对象 terminal
 * 
 * @author ruoyi
 * @date 2022-06-01
 */
public class Terminal implements Serializable
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long terminalId;

    /** 机场三字码 */
    @Excel(name = "机场三字码")
    private String airportId;

    /** 航站楼名称 如T1，T2 */
    @Excel(name = "航站楼名称 如T1，T2")
    private String terminalName;

    /** 航站楼全程名称 如：北京首都国际机场T1航站楼 */
    @Excel(name = "航站楼全程名称 如：北京首都国际机场T1航站楼")
    private String terminalAllname;

    /** 航站楼经纬度高德版 */
    @Excel(name = "航站楼经纬度高德版")
    private String coordinatesgd;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    /** 创建开始时间 */
    private String createDate;

    /** 创建结束时间 */
    private String createEndDate;

    public void setTerminalId(Long terminalId) 
    {
        this.terminalId = terminalId;
    }

    public Long getTerminalId() 
    {
        return terminalId;
    }
    public void setAirportId(String airportId) 
    {
        this.airportId = airportId;
    }

    public String getAirportId() 
    {
        return airportId;
    }
    public void setTerminalName(String terminalName) 
    {
        this.terminalName = terminalName;
    }

    public String getTerminalName() 
    {
        return terminalName;
    }
    public void setTerminalAllname(String terminalAllname) 
    {
        this.terminalAllname = terminalAllname;
    }

    public String getTerminalAllname() 
    {
        return terminalAllname;
    }
    public void setCoordinatesgd(String coordinatesgd) 
    {
        this.coordinatesgd = coordinatesgd;
    }

    public String getCoordinatesgd() 
    {
        return coordinatesgd;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public String getCreateDate() {
        return createDate;
    }

    public void setCreateDate(String createDate) {
        this.createDate = createDate;
    }

    public String getCreateEndDate() {
        return createEndDate;
    }

    public void setCreateEndDate(String createEndDate) {
        this.createEndDate = createEndDate;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("terminalId", getTerminalId())
            .append("airportId", getAirportId())
            .append("terminalName", getTerminalName())
            .append("terminalAllname", getTerminalAllname())
            .append("coordinatesgd", getCoordinatesgd())
            .append("createTime", getCreateTime())
            .toString();
    }
}
